package com.gugee.tiktok.data.consumer.music.core.mapper;

import com.gugee.tiktok.common.model.es.music.ESDayVideoGrowth;
import com.gugee.tiktok.common.model.mysql.MusicRecord;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface MusicRecordMapper {
    ESDayVideoGrowth mapperToES(MusicRecord musicRecord);
    List<ESDayVideoGrowth> mapperToES(List<MusicRecord> musicRecords);
}
